package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.Sprite;
	
	import newx.com.control.NxClip;
	import newx.com.control.text.NxLabel;

	/**
	 *  
	 * @author yanghr
	 * 
	 */	
	public class DetailPropertyUI extends BaseUI
	{
		private var control:*;
		public var faceClip:NxClip;
		public var nameTxT:NxLabel;
		public var professTxT:NxLabel;
		public var skillTxT:NxLabel;
		public var xiangxi:Sprite;
		
		public var lvlTxT:NxLabel;
		public var normalAttackTxT:NxLabel;
		public var skillAttackTxT:NxLabel;
		/**
		 *闪避 
		 */		
		public var dodgeTxT:NxLabel;
		/**
		 *抵挡 
		 */		
		public var wardProbTxT:NxLabel;
		/**
		 * 虚招
		 */		
		public var gardProbTxT:NxLabel;
		/**
		 *暴击 
		 */		
		public var vaProbTxT:NxLabel;
		/**
		 *必杀 
		 */		
		public var vaDamageTxT:NxLabel;
		
		public var lifeTxT:NxLabel;
		public var normalDefTxT:NxLabel;
		public var skillDefTxT:NxLabel;
		/**
		 *命中 
		 */		
		public var hitProbTxT:NxLabel;
		/**
		 *破击 
		 */		
		public var wardWeakTxT:NxLabel;
		/**
		 *破招 
		 */		
		public var guardWeakTxT:NxLabel;
		/**
		 *韧性 
		 */		
		public var vaDefTxT:NxLabel;
		/**
		 *个人先攻值 
		 */		
		public var headAttTxT:NxLabel;
		
		public var facBG:Sprite;
		public var panel1:Sprite,panel2:Sprite,panel3:Sprite,panel4:Sprite
		,panel5:Sprite,panel6:Sprite,panel7:Sprite,panel8:Sprite,panel9:Sprite,panel10:Sprite,panel11:Sprite,panel12:Sprite
		,panel13:Sprite,panel14:Sprite,panel15:Sprite,panel16:Sprite;
		
		public var line1:Sprite;
		public function get logicControl():Object
		{
			return control;
		}
		public function DetailPropertyUI(control:*,popupUI:Boolean=true)
		{
			super(popupUI);
			this.control=control;
		}
		override public function Init():void
		{
			control.Init();
		}
		override protected function BeforeShow():void
		{
			control.BeforeShow();
		}
	}
}